package com.zhangwei.liwushuo.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * Created by zhangwei on 15/8/18.
 */
public class HomeItems implements Serializable {

    /**
     * likes_count : 766
     * status : 0
     * labels : []
     * liked : false
     * type : post
     * url : http://www.liwushuo.com/posts/1008360
     * content_url : http://www.liwushuo.com/posts/1008360/content
     * published_at : 1439863200
     * id : 1008360
     * short_title : 闲时零食
     * title : 没什么特别的理由，就是嘴巴寂寞了
     * updated_at : 1439287974
     * created_at : 1439863200
     * share_msg : 没事看剧的时候，没有零食简直活不下去！平时上课的时候，不吃零食一天简直漫长！即使是出门在外，没有两包零食，都感觉和裸奔一样！所以！这些在我们的声明中扮演着重要角色的零食，今天统统推荐给你们！吃吃吃！
     * cover_image_url : http://img03.liwushuo.com/image/150813/yjh39jpjs.jpg-w720
     */
    @JSONField(name = "likes_count")
    private int likesCount;
    private int status;
    private boolean liked;
    private String type;
    private String url;
    @JSONField(name = "content_url")
    private String contentUrl;
    @JSONField(name = "published_at", format = "yyyy-MM-dd ")
    private int publishedAt;
    private int id;
    @JSONField(name = "short_title")
    private String shortTitle;
    private String title;
    @JSONField(format = "yyyy-MM-dd ")
    private int updatedAt;
    @JSONField(name = "created_at", format = "yyyy-MM-dd ")
    private int createdAt;
    private String share_msg;
    @JSONField(name = "cover_image_url")
    private String coverImageUrl;

    public int getLikesCount() {
        return likesCount;
    }

    public void setLikesCount(int likesCount) {
        this.likesCount = likesCount;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isLiked() {
        return liked;
    }

    public void setLiked(boolean liked) {
        this.liked = liked;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContentUrl() {
        return contentUrl;
    }

    public void setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
    }

    public int getPublishedAt() {
        return publishedAt;
    }

    public void setPublishedAt(int publishedAt) {
        this.publishedAt = publishedAt;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getShortTitle() {
        return shortTitle;
    }

    public void setShortTitle(String shortTitle) {
        this.shortTitle = shortTitle;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(int updatedAt) {
        this.updatedAt = updatedAt;
    }

    public int getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(int createdAt) {
        this.createdAt = createdAt;
    }

    public String getShare_msg() {
        return share_msg;
    }

    public void setShare_msg(String share_msg) {
        this.share_msg = share_msg;
    }

    public String getCoverImageUrl() {
        return coverImageUrl;
    }

    public void setCoverImageUrl(String coverImageUrl) {
        this.coverImageUrl = coverImageUrl;
    }


}
